package com.naiterui.ehp.bs.doctor.repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.DrAccountOperateLog;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author 王泽浩
 * @since 1.0.0
 */
@Repository
public interface IDrAccountOperateLogRepository extends BaseJpaRepository<DrAccountOperateLog, Long>  {


    List<DrAccountOperateLog> findByDoctorIdOrderByCreatedAtDesc(Long doctorId);

    List<DrAccountOperateLog> findByStatusAndCreatedAtBetween(Integer status, Date start, Date end);
}
